﻿
/**
 * AUTO GENERATE BY UI EDITOR.
 * WARNING: DO NOT MODIFY THIS FILE,MAY CAUSE CODE LOST.
 * ATTENTION: onStart 等UI脚本自带函数不可改写为异步执行，有需求的异步逻辑请使用函数封装，通过函数接口在内部使用
 * UI: UI/BagWindow.ui
*/



@UIBind('UI/BagWindow.ui')
export default class BagWindow_Generate extends UIScript {
		private con_detail_Internal: mw.Canvas
	public get con_detail(): mw.Canvas {
		if(!this.con_detail_Internal&&this.uiWidgetBase) {
			this.con_detail_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_detail') as mw.Canvas
		}
		return this.con_detail_Internal
	}
	private img_selected_icon_Internal: mw.Image
	public get img_selected_icon(): mw.Image {
		if(!this.img_selected_icon_Internal&&this.uiWidgetBase) {
			this.img_selected_icon_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_detail/img_selected_icon') as mw.Image
		}
		return this.img_selected_icon_Internal
	}
	private txt_selected_name_Internal: mw.TextBlock
	public get txt_selected_name(): mw.TextBlock {
		if(!this.txt_selected_name_Internal&&this.uiWidgetBase) {
			this.txt_selected_name_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_detail/txt_selected_name') as mw.TextBlock
		}
		return this.txt_selected_name_Internal
	}
	private txt_selected_describe_Internal: mw.TextBlock
	public get txt_selected_describe(): mw.TextBlock {
		if(!this.txt_selected_describe_Internal&&this.uiWidgetBase) {
			this.txt_selected_describe_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_detail/txt_selected_describe') as mw.TextBlock
		}
		return this.txt_selected_describe_Internal
	}
	private btn_equip_Internal: mw.Button
	public get btn_equip(): mw.Button {
		if(!this.btn_equip_Internal&&this.uiWidgetBase) {
			this.btn_equip_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_detail/btn_equip') as mw.Button
		}
		return this.btn_equip_Internal
	}
	private txt_equip_Internal: mw.TextBlock
	public get txt_equip(): mw.TextBlock {
		if(!this.txt_equip_Internal&&this.uiWidgetBase) {
			this.txt_equip_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_detail/btn_equip/txt_equip') as mw.TextBlock
		}
		return this.txt_equip_Internal
	}
	private con_tabs_Internal: mw.Canvas
	public get con_tabs(): mw.Canvas {
		if(!this.con_tabs_Internal&&this.uiWidgetBase) {
			this.con_tabs_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_tabs') as mw.Canvas
		}
		return this.con_tabs_Internal
	}
	private con_items_Internal: mw.Canvas
	public get con_items(): mw.Canvas {
		if(!this.con_items_Internal&&this.uiWidgetBase) {
			this.con_items_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/ScrollBox/con_items') as mw.Canvas
		}
		return this.con_items_Internal
	}
	private btn_close_Internal: mw.Button
	public get btn_close(): mw.Button {
		if(!this.btn_close_Internal&&this.uiWidgetBase) {
			this.btn_close_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/btn_close') as mw.Button
		}
		return this.btn_close_Internal
	}
	private txt_empty_Internal: mw.TextBlock
	public get txt_empty(): mw.TextBlock {
		if(!this.txt_empty_Internal&&this.uiWidgetBase) {
			this.txt_empty_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/txt_empty') as mw.TextBlock
		}
		return this.txt_empty_Internal
	}


 
	/**
	* onStart 之前触发一次
	*/
	protected onAwake() {
	}
	 
}
 